home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
dosguide.exe
/
HELPDOS.ZIP
/
PIPING.HLP
< prev
next >
Wrap
Text File
|
1987-04-05
|
1KB
|
39 lines
------------------------ PIPING ("|") - A DOS Feature ------------------------
PIPING allows programs to be chained together with automatic redirection of the
screen output of one program as the keyboard input to another program.
FORMAT: |
REMARKS:
The bar |, which activates piping, is placed between commands. DOS uses
special temporary files of the name %PIPEx.$$$ to pass screen output to the
chained program.
EXAMPLES:
Note: SORT and MORE, used in the following examples, are external DOS
commands. DOS must have access to these command files or the
command will fail with the message "Bad command or file name."
Display sorted information for the current directory on the default drive. The
screen output of the DIR command is passed as keyboard input to the SORT
command:
DIR | SORT or DIR|SORT (spaces around | are optional)
Display the file MYFILE and pause when the screen is full. MYFILE is in the
current directory on the default drive:
TYPE MYFILE | MORE
Display the directory information for files in the current directory of the
default drive that have the string "FY85" in the filename. Sort the display and
present it one screen at a time:
DIR | FIND "FY85" | SORT | MORE